package cn.mycc.service;

import cn.mycc.domain.Department;
import cn.mycc.qo.PageResult;
import cn.mycc.qo.QueryObject;

import java.util.List;

public interface IDepartmentService {
    void save (Department department);
    void delete(long id);
    void update (Department department);
    Department get (long id);
    List<Department> getAll ();

//    分页查询
    PageResult<Department> query(QueryObject qo);
}
